﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.Models
{
    [Table("ThoiDiem")]
    public sealed class ThoiDiem : BaseModel
    {
        public ThoiDiem()
        {            
        }

        public int Id { get; set; }        

        [Required]
        [MaxLength(255)]
        public string Ten { get; set; }

        [Required]        
        public string From { get; set; }

        [Required]
        public string To { get; set; }
    }
}